package com.dz.risk.pojo.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.ArrayList;
import java.util.List;

/**
 * 报表信息树模型
 *
 * @author Doke
 * @date 2021/7/23 14:47
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class ReportFormsTreeModel {

    @ApiModelProperty(value = "报表Id")
    private String id;

    /**
     * 报表编号
     */
    @ApiModelProperty(value = "报表编号")
    private String reportFormsSerialNumber;

    /**
     * 报表名
     */
    @ApiModelProperty(value = "报表名")
    private String reportFormsName;

    /**
     * 上级报表编号
     */
    @ApiModelProperty(value = "上级报表编号")
    private String superiorReportFormsSerialNumber;

    /**
     * 排序号
     */
    @ApiModelProperty(value = "排序号")
    private Integer queueNumber;

    /**
     * 下级报表信息集合
     */
    private List<ReportFormsTreeModel> childReportForms = new ArrayList<>();
}
